package com.ruoyi.jypc.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 司机信息对象 jypc_driver
 * 
 * @author xymc
 * @date 2022-11-16
 */
public class Driver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机编号 */
    private Long driverid;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String drivername;

    /** 司机年龄 */
    @Excel(name = "司机年龄")
    private String driverage;

    /** 司机驾龄 */
    @Excel(name = "司机驾龄")
    private String driverexperience;

    /** 驾照等级 */
    @Excel(name = "驾照等级")
    private String driverlience;

    /** 驾照到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "驾照到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date liencedate;

    /** 状态） */
    @Excel(name = "状态）")
    private String status;

    /** 备注1 */
    @Excel(name = "备注1")
    private String remark1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String remark2;

    public void setDriverid(Long driverid) 
    {
        this.driverid = driverid;
    }

    public Long getDriverid() 
    {
        return driverid;
    }
    public void setDrivername(String drivername) 
    {
        this.drivername = drivername;
    }

    public String getDrivername() 
    {
        return drivername;
    }
    public void setDriverage(String driverage) 
    {
        this.driverage = driverage;
    }

    public String getDriverage() 
    {
        return driverage;
    }
    public void setDriverexperience(String driverexperience) 
    {
        this.driverexperience = driverexperience;
    }

    public String getDriverexperience() 
    {
        return driverexperience;
    }
    public void setDriverlience(String driverlience) 
    {
        this.driverlience = driverlience;
    }

    public String getDriverlience() 
    {
        return driverlience;
    }
    public void setLiencedate(Date liencedate) 
    {
        this.liencedate = liencedate;
    }

    public Date getLiencedate() 
    {
        return liencedate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemark1(String remark1) 
    {
        this.remark1 = remark1;
    }

    public String getRemark1() 
    {
        return remark1;
    }
    public void setRemark2(String remark2) 
    {
        this.remark2 = remark2;
    }

    public String getRemark2() 
    {
        return remark2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverid", getDriverid())
            .append("drivername", getDrivername())
            .append("driverage", getDriverage())
            .append("driverexperience", getDriverexperience())
            .append("driverlience", getDriverlience())
            .append("liencedate", getLiencedate())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark1", getRemark1())
            .append("remark2", getRemark2())
            .toString();
    }
}
